package cn.cvs.service;

import cn.cvs.dao.RoleDao;
import cn.cvs.pojo.TSysRole;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;


@Service
public class RoleServiceImpl implements RoleService{

    @Resource
    RoleDao roleDao;

    @Override
    public List<TSysRole> getAllRole() {
        return roleDao.getAllRole();
    }
}
